home *** CD-ROM | disk | FTP | other *** search
- on keyUp
- if (the key = ENTER) or (the key = RETURN) or (the keyCode = 76) then
- if (value(field "Degrees") <= 720) and (value(field "Degrees") >= -720) then
- put value(field "Degrees") into field "Degrees"
- go("Sc5a")
- else
- if value(field "Degrees") < -720 then
- put "-720" into field "Degrees"
- put value(field "Degrees") into field "Degrees"
- go("Sc5a")
- else
- put "720" into field "Degrees"
- put value(field "Degrees") into field "Degrees"
- go("Sc5a")
- end if
- end if
- end if
- end
-
- on endSprite me
- put 75 into field "Degrees"
- end
-